<?php
namespace app\index\controller;

use app\common\JwtToken;
use think\Request;

class Index
{
    public function createToken($uid = 1)
    {
        $token = JwtToken::createToken(1);
        dump($token);
    }

    public function test(Request $request)
    {
        dump($request->input);
//        $token = $request->param('token');
//        $token = JwtToken::validationToken($token);
//        dump($token);
    }



}
